<div class="sysLogisticTpls index">
	<h1><?php echo __('邮费模板');?></h1>
    <div class="bloc">
        <div class="title">
           <?php echo $this->element('admin/bread')?>
             <p><?php echo $this->Html->link(__('添加'), array('action' => 'add')); ?></p>
        </div>
        <div class="admin_view_table">
			<table cellpadding="0" cellspacing="0">
			 <thead>
				<tr>
						<th><?php echo $this->Paginator->sort('id','ID'); ?></th>
						<th><?php echo $this->Paginator->sort('sys_websites_id','站点'); ?></th>
						<th><?php echo $this->Paginator->sort('sys_logistic_id','物流公司'); ?></th>
						<th><?php echo $this->Paginator->sort('provience_id','省'); ?></th>
						<th><?php echo $this->Paginator->sort('city_id','市'); ?></th>
						<th><?php echo $this->Paginator->sort('area_id','区'); ?></th>
						<th><?php echo $this->Paginator->sort('price','价格'); ?></th>
						<th><?php echo $this->Paginator->sort('created','添加时间'); ?></th>
						<th class="actions"><?php echo __('操作'); ?></th>
				</tr>
			 </thead>
			  <tbody>
				<?php foreach ($sysLogisticTpls as $sysLogisticTpl): ?>
				<tr>
					<td><?php echo h($sysLogisticTpl['SysLogisticTpl']['id']); ?>&nbsp;</td>
					<td>
						<?php echo $this->Html->link($sysLogisticTpl['SysWebsites']['title'], array('controller' => 'sys_websites', 'action' => 'view', $sysLogisticTpl['SysWebsites']['id'])); ?>
					</td>
					<td><?php echo h($sysLogisticTpl['SysLogisticTpl']['sys_logistic_id']); ?>&nbsp;</td>
					<td>
						<?php echo $this->Html->link($sysLogisticTpl['Provience']['name'], array('controller' => 'areas', 'action' => 'view', $sysLogisticTpl['Provience']['id'])); ?>
					</td>
					<td>
						<?php echo $this->Html->link($sysLogisticTpl['City']['name'], array('controller' => 'areas', 'action' => 'view', $sysLogisticTpl['City']['id'])); ?>
					</td>
					<td>
						<?php echo $this->Html->link($sysLogisticTpl['Area']['name'], array('controller' => 'areas', 'action' => 'view', $sysLogisticTpl['Area']['id'])); ?>
					</td>
					<td><?php echo h($sysLogisticTpl['SysLogisticTpl']['price']); ?>&nbsp;</td>
					<td><?php echo h($sysLogisticTpl['SysLogisticTpl']['created']); ?>&nbsp;</td>
					<td class="actions">
						<?php echo $this->Html->link(__('View'), array('action' => 'view', $sysLogisticTpl['SysLogisticTpl']['id'])); ?>
						<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $sysLogisticTpl['SysLogisticTpl']['id'])); ?>
						<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $sysLogisticTpl['SysLogisticTpl']['id']), null, __('Are you sure you want to delete # %s?', $sysLogisticTpl['SysLogisticTpl']['id'])); ?>
					</td>
				</tr>
			<?php endforeach; ?>
			</tbody>
			</table>
		</div>
        <div class="pv_page">
            <div>
                <?php
                    echo $this->Paginator->counter(array(
                        'format' => __(' 当前第{:page}页/共{:pages}页 , 当前显示{:start} 至 {:end}条记录')
                    ));
                ?>	
            </div>
            <div class="paging">
                <?php
                    echo $this->Paginator->prev('< ' . __('上一页'), array(), null, array('class' => 'prev disabled'));
                    echo $this->Paginator->numbers(array('separator' => ''));
                    echo $this->Paginator->next(__('下一页') . ' >', array(), null, array('class' => 'next disabled'));
                ?>
            </div>
        </div>
    </div>
</div>